﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel.Web;
using System.Text;
using System.Web.Script.Serialization;
using DAO;
//using Newtonsoft.Json;

namespace REST
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "Service1" in code, svc and config file together.
    public class Service1 : IService1
    {
        public string Teste()
        {
            var evento = DAO.EventoDAO.Listar()[0];
            //return JsonConvert.SerializeObject(evento);
            return "";
        }


    }

    
}
